package com.aiguigu.gulimall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 整合mybatis-plus
 * 引入依赖
 * 配置数据源（yml）
 * 配置mybatis：1.配置mapperScan 2.配置xml映射文件（配置mapper-location）
 */
@MapperScan("com.aiguigu.gulimall.product.dao")
@SpringBootApplication
@EnableDiscoveryClient
public class GulimallProdectApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallProdectApplication.class, args);
    }

}
